package com.zhida.smartcontrol.pagectrl.projectdetail.warning;

import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;
import com.zhida.smartcontrol.pagectrl.projectdetail.GroupBean;

import java.util.List;

/**
 * author: tanjianpei
 * date: 2019/10/11 011 9:14
 * description:
 */
public class WarningContract {
    interface View extends BaseView {
        void showData(WarningBean warningBean);
        void processWarn();
    }

    interface Presenter extends BasePresenter<View> {
        void requestWarning(String switchType, String projectBaseId,int page, boolean showLoading);
        void processWarn(String alarmType, String id,String status, boolean showLoading);
    }
}
